<?php if(!defined('EMLOG_ROOT')) {exit('error!');}?>
<div class="w970">
	<?php include View::getView('side'); ?>	
	<div id="main">
		<?php doAction('index_loglist_top'); ?>
		<ul>
		<?php foreach($logs as $value): ?>
			<li>
				<div class="post">
					<div class="content">
						<h2><?php topflg($value['top']); ?><a href="<?php echo $value['log_url']; ?>"><?php echo $value['log_title']; ?></a></h2>
						<div><?php echo $value['log_description']; ?></div>
						<div class="fujian"><?php blog_att($value['logid']); ?></div>
					</div>
					<div class="meta">
						<span class="time">
						<?php echo gmdate('Y-n-j', $value['date']); ?></span>
						<?php blog_sort($value['logid']); ?> <br />
						<?php blog_tag($value['logid']); ?> <br />
						<a href="<?php echo $value['log_url']; ?>#comment"><?php echo $value['comnum']; ?>条评论</a><br />
						<?php echo $value['views']; ?> views <br />
						<?php editflg($value['logid'],$value['author']); ?>
					</div>
				</div>
				<div class="under">
				<div class="top"></div>
				<div class="under_p">
				</div>
				<div class="bottom"></div>
				</div>
			</li>
		<?php endforeach; ?>
		</ul>
		<div class="navigation">
		<?php echo $page_url;?>
		</div>
	</div>
</div>
<?php include View::getView('footer'); ?>
<!--end content-->
